package com.ch999.detect.mode.bean;

import android.view.View;

/**
 * dialog参数模型，方便封装各式各样的dialog
 * Created by ch999android on 2017/12/28.
 */

public class DialogCustomMode {
    private String title;//dialog的标题
    private View view;//dialog 的自定义view
    private boolean isShowBottomBtn = true;
    private boolean isShowBtnOk;
    private String okText;
    private String noText;
    private boolean isScrreen=false;
    private boolean needCountDown = true;

    public boolean isNeedCountDown() {
        return needCountDown;
    }

    public void setNeedCountDown(boolean needCountDown) {
        this.needCountDown = needCountDown;
    }

    public boolean isScrreen() {
        return isScrreen;
    }

    public void setScrreen(boolean scrreen) {
        isScrreen = scrreen;
    }

    public DialogCustomMode(String title, View view) {
        this.title = title;
        this.view = view;
    }

    public String getOkText() {
        return okText;
    }

    public void setOkText(String okText) {
        this.okText = okText;
    }

    public String getNoText() {
        return noText;
    }

    public void setNoText(String noText) {
        this.noText = noText;
    }

    public boolean isShowBtnOk() {
        return isShowBtnOk;
    }

    public void setShowBtnOk(boolean showBtnOk) {
        isShowBtnOk = showBtnOk;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public View getView() {
        return view;
    }

    public void setView(View view) {
        this.view = view;
    }

    public boolean isShowBottomBtn() {
        return isShowBottomBtn;
    }

    public void setShowBottomBtn(boolean showBottomBtn) {
        isShowBottomBtn = showBottomBtn;
    }
}
